/*
 Navicat MySQL Data Transfer

 Source Server         : mysql
 Source Server Type    : MySQL
 Source Server Version : 50730
 Source Host           : localhost:3306
 Source Schema         : clientsystem

 Target Server Type    : MySQL
 Target Server Version : 50730
 File Encoding         : 65001

 Date: 19/07/2021 23:56:03
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for department
-- ----------------------------
DROP TABLE IF EXISTS `department`;
CREATE TABLE `department` (
  `dept_id` int(255) NOT NULL AUTO_INCREMENT,
  `dept_name` varchar(255) DEFAULT NULL,
  `major_name` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of department
-- ----------------------------
BEGIN;
INSERT INTO `department` VALUES (1, '市场部', '拉钩招聘', '400-400-4008', 'lagou@163.com');
INSERT INTO `department` VALUES (2, '销售部', '拉钩招聘', '400-400-4002', 'lagou@163.com');
INSERT INTO `department` VALUES (11, '11', '11', '11', '11');
INSERT INTO `department` VALUES (12, '111', '234234', '23123', '111');
INSERT INTO `department` VALUES (13, 'a11', '234234', '23123', '111');
COMMIT;

-- ----------------------------
-- Table structure for employee
-- ----------------------------
DROP TABLE IF EXISTS `employee`;
CREATE TABLE `employee` (
  `emp_id` int(255) NOT NULL AUTO_INCREMENT,
  `emp_name` varchar(255) DEFAULT NULL,
  `dept_id` int(255) DEFAULT NULL,
  `job_name` varchar(255) DEFAULT NULL,
  `join_date` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`emp_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of employee
-- ----------------------------
BEGIN;
INSERT INTO `employee` VALUES (1, '小王', 1, '客户经理', '2020-06-06', '13212345678');
INSERT INTO `employee` VALUES (2, '老于', 1, '客户经理', '2019-04-027', '13212345679');
INSERT INTO `employee` VALUES (3, '老方', 2, '销售经理', '2015-08-14', '13212345670');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
